package com.layui.ad.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.layui.ad.entity.Article;
import com.layui.ad.query.ArticleQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

@Repository
public interface ArticleMapper extends BaseMapper<Article> {

    List<Article> getList(@Param("params") ArticleQuery articleQuery);

    Object info(@Param("id") Integer id);
}